package com.project.pojo;

public class Room {
    private long id;
    private long roomId;
    private long buildId;
    private String buildName;
    private Long status;

    @Override
    public String toString() {
        return "Room{" +
                "id=" + id +
                ", roomId=" + roomId +
                ", buildId=" + buildId +
                ", buildName='" + buildName + '\'' +
                ", status=" + status +
                '}';
    }

    public Long getStatus() {
        return status;
    }

    public void setStatus(Long status) {
        this.status = status;
    }
    public String getStatusStr() {
        if (status == 1) {
            return "启用";
        } else {
            return "禁用";
        }
    }

    public long getBuildId() {
        return buildId;
    }

    public void setBuildId(long buildId) {
        this.buildId = buildId;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getRoomId() {
        return roomId;
    }

    public void setRoomId(long roomId) {
        this.roomId = roomId;
    }

    public String getBuildName() {
        return buildName;
    }

    public void setBuildName(String buildName) {
        this.buildName = buildName;
    }
}
